<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车</title>
    <link rel="stylesheet" href="./css/cart.css">
    <link rel="stylesheet" href="./layui-v2.5.6/layui/css/layui.css">
</head>
<body>
    <div id="head"></div>
    <div class="catbox">
        <table id="cartTable">
            <thead>
                <tr>
                    <th><label>
                        <input class="check-all check" type="checkbox" />&nbsp;&nbsp;全选</label></th>
                    <th>商品</th>
                    <th>单价</th>
                    <th>数量</th>
                    <th>小计</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody id="list">
             
            </tbody>
        </table>
        <div class="foot" id="footer">
            <a class="fl delete" id="deleteAll">删除</a>
            <a href="./payment.html" style="color: red;"> <div class="fr closing" onclick="getTotal();"> 点击结算》</div></a>
            <input type="hidden" id="cartTotalPrice" />
            <div class="fr total">合计：￥<span id="priceTotal">0.00</span></div>
            <div class="fr selected" id="selected">已选商品<span id="selectedTotal">0</span>件<span
                    class="arrow up">︽</span><span class="arrow down">︾</span></div>
           
        </div>
    </div>
    <div id="foot"></div>
</body>
<script src="./jquery-1.11.3.js"></script>
<script src="./layui-v2.5.6/layui/layui.js"></script>
<script src="./js/cart.js" type="module"></script>
</html>